<?php

/**
 * @author nguyendu
 * @copyright 2011
 */
 class Exception
 {
    private static $message="";//string
    private static $type;//int
    private static $errorNumber;//int
    public function __construct($_message,$_type)
    {
        self::$message=$_message;
        self::$type=$_type;
    }
    protected function setMessage($_message)
    {
        self::$message=$_message;
    }
    protected function setType($_type)
    {
        self::$type=$_type;
    }
    protected function setErrorNumber($_errorNumber)
    {
        self::$errorNumber=$_errorNumber;
    }
    protected function getErrorNumber()
    {
        return self::$errorNumber;
    }
    protected function getType()
    {
        return self::$type;
    }
    protected function getMessage()
    {
        return self::message;
    }
 }
?>